//
//  MainView.h
//
//  Created by Nikita Ivanyushchenko on 3/11/10.
//  Copyright 2010 MLS-Automatization. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import <Quartz/Quartz.h>

@class MyImageView;

@interface MainView : NSView
{
	IBOutlet MyImageView	* imageView;
	IBOutlet NSTextField	* hPartsLabel;
	IBOutlet NSTextField	* vPartsLabel;
	IBOutlet NSButton		* startButton;
	
	IBOutlet NSProgressIndicator * progressIndicator;
		
	NSOperationQueue * queue;
}
-(IBAction) startButtonPressed:(id)sender;

//bind slider with label
-(IBAction) hPartsSliderMoved:(id)sender;
-(IBAction) vPartsSliderMoved:(id)sender;
-(void) splitImage:(NSArray*) anArray;
@end
